
<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
        <li class="layui-nav-item">
          <a href="<?php 
            echo U('home/userCenter/center').'?id='.$_SESSION['uid'];
           ?>">
            <i class="layui-icon">
              &#xe609;
            </i>
            我的主页
          </a>
        </li>
        <?php 
            $page=explode('/', $_SERVER['PHP_SELF']);
            $page=end($page);
         ?>
        <li class="layui-nav-item <?php if($page=='index'||$page=='UserCenter'||$page=='index.html')echo 'layui-this' ?>">
          <a href="{:U('home/userCenter/index')}">
            <i class="layui-icon">
              &#xe612;
            </i>
            用户中心
          </a>
        </li>
        <li class="layui-nav-item <?php if($page=='set'||$page=='set.html')echo 'layui-this' ?>">
          <a href="{:U('home/userCenter/set')}">
            <i class="layui-icon">
              &#xe620;
            </i>
            基本设置
          </a>
        </li>
        <li class="layui-nav-item <?php if($page=='msg'||$page=='msg.html')echo 'layui-this' ?>">
          <a href="{:U('home/userCenter/msg')}">
            <i class="layui-icon">
              &#xe611;
            </i>
            我的消息
          </a>
        </li>
        <li class="layui-nav-item <?php if($page=='can'||$page=='can.html')echo 'layui-this' ?>">
          <a href="{:U('home/userCenter/can')}">
            <i class="layui-icon">
              &#xe61e;
            </i>
            产品授权
          </a>
        </li>
        <?php ?>
</ul>
<div class="site-tree-mobile layui-hide">
  <i class="layui-icon">
    &#xe602;
  </i>
  
</div>
<div class="site-mobile-shade">
</div>
